﻿using InnoWeb.CEND.Core.Model.Base;
using InnoWeb.CEND.Core.Model.Expert;
using InnoWeb.CEND.Core.Model.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace InnoWeb.CEND.Core.Model.Workshop
{
    public class WorkshopItem : BaseItem, IWorkshop
    {

        public WorkshopItem()
        {

        }
        //public string Name { get; set; }

        //public string NameTR { get; set; }

        public int ExpertInfoId { get; set; }

        public ExpertInfo Expert { get; set; }

        private IList<WorkshopContent> _workshopContents;

        public IList<WorkshopContent> WorkshopContents
        {
            get { return _workshopContents ?? (_workshopContents = new List<WorkshopContent>()); }
            protected set { _workshopContents = value; }
        }

    }
}
